const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        id: 1,
        supplierCode: 'L002',
        companyName: '广州市联邦报关行',
        supplierType: '报关供应商',
        transportType: '海运整柜',
        contactor: '林总',
        contactContent: '1521354479',
        level: '优质',
        status: '启动',
        begindate: '2019-09-18',
        enddate: '2022-09-30',
        address: '',
        memo: '',
        creator: '刘曾荣',
        creatTime: '2019-01-01',
        updator: '刘亦菲',
        updateTime: '2019',
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/supplierBaseInfo/query': mockQuery,
  'POST /api/supplierBaseInfo/create': mockCreate,
  'POST /api/supplierBaseInfo/update': mockUpdate,
  'POST /api/supplierBaseInfo/remove': mockRemove,
};
